/**
 * Copyright (c) Freelens Authors. All rights reserved.
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */

@use "../vars" as *;

.HelmChartDetails {
  .intro-logo {
    margin-right: calc(var(--margin) * 2);
    background: var(--helmLogoBackground) center no-repeat;
    border-radius: var(--border-radius);
    padding: var(--padding);
    width: 100px;
    height: 100px;
    box-sizing: content-box;
    background-size: contain;
  }

  .Select__option {
    span.deprecated {
      text-decoration: line-through;
    }
  }

  .intro-contents {
    .description {
      font-weight: bold;
      color: var(--textColorAccent);
      padding-bottom: $padding;

      .Button {
        padding-left: $padding * 3;
        padding-right: $padding * 3;
        margin-left: $margin * 2;
        align-self: flex-start;
      }
    }

    .version {
      .Select {
        min-width: 80px;
        white-space: nowrap;
      }

      .Icon {
        margin-right: $margin;
      }
    }

    .maintainers {
      a {
        display: inline-block;
        margin-right: $margin;
      }
    }

    .DrawerItem {
      align-items: center;
    }
  }

  .chart-description {
    margin-top: $margin * 2;
  }
}
